cmake_minimum_required(VERSION 3.11)
set(-DDEFAULT_CHARSET=utf8)
set(CMAKE_CXX_STANDARD 11)
project(C_MIPS_CMPLR)

#add_executable(testoutGen "test files/test-base.cpp" token.h "token.cpp")
add_executable(compiler main.cpp token.cpp syntax.cpp syntax.h logger.cpp ast/ast.h symbolTable.h symbolTable.cpp ast/ast_statements.h ast/ast_def.h ast/ast_function.h ast/ast_exprs.h ast/ast_def.cpp ast/ast_function.cpp syntax/matcher.h syntax/matcher.cpp ast/ast_statements.cpp ast/ast_exprs.cpp codegen/mem_allocator.h codegen/code_synthesis.h codegen/register.h analysis/var_indexer.h codegen/mem_allocator.cpp analysis/common_matcher.cpp analysis/common_matcher.h ast/ast.cpp)